import QtQuick

Window {
    width: 350
    height: 475
    visible: true
    title: qsTr("Hello World")

    Text{

        id: txt
        anchors.horizontalCenter: parent.horizontalCenter

        anchors.top: parent.top
        anchors.topMargin: 50
        text: "扫码登录"
        color: "#41cd52"
        font.pixelSize: 20
        font.bold: true
    }

    Image {
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.top:txt.bottom
        anchors.topMargin: 50
        width: 200
        height: 200
        id: name
        source: "image://login/he"
    }

    Text{
        anchors.bottom: parent.bottom
        anchors.bottomMargin: 50
        anchors.horizontalCenter: parent.horizontalCenter
        text:"仅文件传输"
        color: "#41cd52"
        font.pixelSize: 15

        MouseArea{
            anchors.fill: parent
            cursorShape: Qt.PointingHandCursor

            onClicked: {
                var url="https://filehelper.weixin.qq.com/";
                Qt.openUrlExternally(url);
            }
        }


    }
}
